/****************************************************************************
** Meta object code from reading C++ file 'MappingLayout.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../gVision/util/MappingLayout.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MappingLayout.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_LayoutParam_t {
    QByteArrayData data[27];
    char stringdata0[260];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LayoutParam_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LayoutParam_t qt_meta_stringdata_LayoutParam = {
    {
QT_MOC_LITERAL(0, 0, 11), // "LayoutParam"
QT_MOC_LITERAL(1, 12, 9), // "imageName"
QT_MOC_LITERAL(2, 22, 7), // "isFlipX"
QT_MOC_LITERAL(3, 30, 7), // "isFlipY"
QT_MOC_LITERAL(4, 38, 10), // "isFixRatio"
QT_MOC_LITERAL(5, 49, 6), // "xratio"
QT_MOC_LITERAL(6, 56, 6), // "yratio"
QT_MOC_LITERAL(7, 63, 7), // "xOffset"
QT_MOC_LITERAL(8, 71, 7), // "yOffset"
QT_MOC_LITERAL(9, 79, 7), // "leftCut"
QT_MOC_LITERAL(10, 87, 8), // "rightCut"
QT_MOC_LITERAL(11, 96, 5), // "upCut"
QT_MOC_LITERAL(12, 102, 7), // "downCut"
QT_MOC_LITERAL(13, 110, 7), // "isHeadX"
QT_MOC_LITERAL(14, 118, 7), // "isHeadY"
QT_MOC_LITERAL(15, 126, 3), // "row"
QT_MOC_LITERAL(16, 130, 3), // "col"
QT_MOC_LITERAL(17, 134, 15), // "startPosCenterX"
QT_MOC_LITERAL(18, 150, 15), // "startPosCenterY"
QT_MOC_LITERAL(19, 166, 15), // "startPosOffsetH"
QT_MOC_LITERAL(20, 182, 15), // "startPosOffsetW"
QT_MOC_LITERAL(21, 198, 13), // "scanDirection"
QT_MOC_LITERAL(22, 212, 13), // "ScanDirection"
QT_MOC_LITERAL(23, 226, 6), // "UpDown"
QT_MOC_LITERAL(24, 233, 6), // "DownUp"
QT_MOC_LITERAL(25, 240, 9), // "LeftRight"
QT_MOC_LITERAL(26, 250, 9) // "RightLeft"

    },
    "LayoutParam\0imageName\0isFlipX\0isFlipY\0"
    "isFixRatio\0xratio\0yratio\0xOffset\0"
    "yOffset\0leftCut\0rightCut\0upCut\0downCut\0"
    "isHeadX\0isHeadY\0row\0col\0startPosCenterX\0"
    "startPosCenterY\0startPosOffsetH\0"
    "startPosOffsetW\0scanDirection\0"
    "ScanDirection\0UpDown\0DownUp\0LeftRight\0"
    "RightLeft"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LayoutParam[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
      21,   14, // properties
       1,   77, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // properties: name, type, flags
       1, QMetaType::QString, 0x00095103,
       2, QMetaType::Bool, 0x00095103,
       3, QMetaType::Bool, 0x00095103,
       4, QMetaType::Bool, 0x00095103,
       5, QMetaType::Double, 0x00095103,
       6, QMetaType::Double, 0x00095103,
       7, QMetaType::Int, 0x00095103,
       8, QMetaType::Int, 0x00095103,
       9, QMetaType::Int, 0x00095103,
      10, QMetaType::Int, 0x00095103,
      11, QMetaType::Int, 0x00095103,
      12, QMetaType::Int, 0x00095103,
      13, QMetaType::Bool, 0x00095103,
      14, QMetaType::Bool, 0x00095103,
      15, QMetaType::Int, 0x00095103,
      16, QMetaType::Int, 0x00095103,
      17, QMetaType::Int, 0x00095103,
      18, QMetaType::Int, 0x00095103,
      19, QMetaType::Int, 0x00095103,
      20, QMetaType::Int, 0x00095103,
      21, 0x80000000 | 22, 0x0009510b,

 // enums: name, alias, flags, count, data
      22,   22, 0x0,    4,   82,

 // enum data: key, value
      23, uint(LayoutParam::UpDown),
      24, uint(LayoutParam::DownUp),
      25, uint(LayoutParam::LeftRight),
      26, uint(LayoutParam::RightLeft),

       0        // eod
};

void LayoutParam::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<LayoutParam *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->imageName(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isFlipX(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isFlipY(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isFixRatio(); break;
        case 4: *reinterpret_cast< double*>(_v) = _t->xratio(); break;
        case 5: *reinterpret_cast< double*>(_v) = _t->yratio(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->xOffset(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->yOffset(); break;
        case 8: *reinterpret_cast< int*>(_v) = _t->leftCut(); break;
        case 9: *reinterpret_cast< int*>(_v) = _t->rightCut(); break;
        case 10: *reinterpret_cast< int*>(_v) = _t->upCut(); break;
        case 11: *reinterpret_cast< int*>(_v) = _t->downCut(); break;
        case 12: *reinterpret_cast< bool*>(_v) = _t->isHeadX(); break;
        case 13: *reinterpret_cast< bool*>(_v) = _t->isHeadY(); break;
        case 14: *reinterpret_cast< int*>(_v) = _t->row(); break;
        case 15: *reinterpret_cast< int*>(_v) = _t->col(); break;
        case 16: *reinterpret_cast< int*>(_v) = _t->startPosCenterX(); break;
        case 17: *reinterpret_cast< int*>(_v) = _t->startPosCenterY(); break;
        case 18: *reinterpret_cast< int*>(_v) = _t->startPosOffsetH(); break;
        case 19: *reinterpret_cast< int*>(_v) = _t->startPosOffsetW(); break;
        case 20: *reinterpret_cast< ScanDirection*>(_v) = _t->scanDirection(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<LayoutParam *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setImageName(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setIsFlipX(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setIsFlipY(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setIsFixRatio(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setXratio(*reinterpret_cast< double*>(_v)); break;
        case 5: _t->setYratio(*reinterpret_cast< double*>(_v)); break;
        case 6: _t->setXOffset(*reinterpret_cast< int*>(_v)); break;
        case 7: _t->setYOffset(*reinterpret_cast< int*>(_v)); break;
        case 8: _t->setLeftCut(*reinterpret_cast< int*>(_v)); break;
        case 9: _t->setRightCut(*reinterpret_cast< int*>(_v)); break;
        case 10: _t->setUpCut(*reinterpret_cast< int*>(_v)); break;
        case 11: _t->setDownCut(*reinterpret_cast< int*>(_v)); break;
        case 12: _t->setIsHeadX(*reinterpret_cast< bool*>(_v)); break;
        case 13: _t->setIsHeadY(*reinterpret_cast< bool*>(_v)); break;
        case 14: _t->setRow(*reinterpret_cast< int*>(_v)); break;
        case 15: _t->setCol(*reinterpret_cast< int*>(_v)); break;
        case 16: _t->setStartPosCenterX(*reinterpret_cast< int*>(_v)); break;
        case 17: _t->setStartPosCenterY(*reinterpret_cast< int*>(_v)); break;
        case 18: _t->setStartPosOffsetH(*reinterpret_cast< int*>(_v)); break;
        case 19: _t->setStartPosOffsetW(*reinterpret_cast< int*>(_v)); break;
        case 20: _t->setScanDirection(*reinterpret_cast< ScanDirection*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

QT_INIT_METAOBJECT const QMetaObject LayoutParam::staticMetaObject = { {
    &QObject::staticMetaObject,
    qt_meta_stringdata_LayoutParam.data,
    qt_meta_data_LayoutParam,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *LayoutParam::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *LayoutParam::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_LayoutParam.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int LayoutParam::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
   if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 21;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 21;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 21;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 21;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 21;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
